<?php

namespace app\api\controller;

use app\api\logic\qiniu\Upload as UploadLogic;

class Qiniu
{
    use \app\common\traits\Controller;

    public function __construct(
        UploadLogic $uploadLogic
    )
    {
        $this->uploadLogic = $uploadLogic;
    }

    public function uploadToken()
    {
        return self::httpResp($this->uploadLogic->token());
    }
}
